package com.ruoyi.device.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 仪器信息对象 tmd_device_information
 * 
 * @author ruoyi
 * @date 2024-04-26
 */
@Alias("TmdDeviceInformation")
public class TmdDeviceInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id 编号 */
    private Long id;

    /** 仪器名称 XXX仪器 */
    @Excel(name = "仪器名称 XXX仪器")
    private String deviceName;

    /** 所属部门id 部门id */
    @Excel(name = "所属部门id 部门id")
    private Long deptId;

    /** 型号规格 XXX规格，秤可以称300公斤 */
    @Excel(name = "型号规格 XXX规格，秤可以称300公斤")
    private String type;

    /** 创建人 创建人 */
    @Excel(name = "创建人 创建人")
    private String createPerson;

    /** 主要技术指标 主要技术指标 */
    @Excel(name = "主要技术指标 主要技术指标")
    private String mainAim;

    /** 鉴定有效期 有效天数 */
    @Excel(name = "鉴定有效期 有效天数")
    private Long valid;

    /** 存放位置 写清楚具体位置即可，A号写字楼301的抽屉 */
    @Excel(name = "存放位置 写清楚具体位置即可，A号写字楼301的抽屉")
    private String savePosition;

    /** 仪器状态 0：正常，1：报废，2：维修，3：无效 */
    @Excel(name = "仪器状态 0：正常，1：报废，2：维修，3：无效")
    private Long deviceStatus;

    /** 使用状态 0：已入库，1：已出库 */
    @Excel(name = "使用状态 0：已入库，1：已出库")
    private Long useStatus;

    /** 附件 附件 */
    @Excel(name = "附件 附件")
    private String file;

    /** 备注 备注 */
    @Excel(name = "备注 备注")
    private String text;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCreatePerson(String createPerson) 
    {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() 
    {
        return createPerson;
    }
    public void setMainAim(String mainAim) 
    {
        this.mainAim = mainAim;
    }

    public String getMainAim() 
    {
        return mainAim;
    }
    public void setValid(Long valid) 
    {
        this.valid = valid;
    }

    public Long getValid() 
    {
        return valid;
    }
    public void setSavePosition(String savePosition) 
    {
        this.savePosition = savePosition;
    }

    public String getSavePosition() 
    {
        return savePosition;
    }
    public void setDeviceStatus(Long deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public Long getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setUseStatus(Long useStatus) 
    {
        this.useStatus = useStatus;
    }

    public Long getUseStatus() 
    {
        return useStatus;
    }
    public void setFile(String file) 
    {
        this.file = file;
    }

    public String getFile() 
    {
        return file;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceName", getDeviceName())
            .append("deptId", getDeptId())
            .append("type", getType())
            .append("createPerson", getCreatePerson())
            .append("createTime", getCreateTime())
            .append("mainAim", getMainAim())
            .append("valid", getValid())
            .append("savePosition", getSavePosition())
            .append("deviceStatus", getDeviceStatus())
            .append("useStatus", getUseStatus())
            .append("file", getFile())
            .append("text", getText())
            .toString();
    }
}
